﻿$(function () {
  $(document).ready(function(){
    $('#style_switcher').themeswitcher({
		buttonPreText:'Стиль: ',
		initialText:'Выбрать стиль',
		loadTheme:'Smoothness',
		buttonHeight: 18
	});
  });

    app.SearchForm('SearchForm', 'tree');
    app.EditMenu('EditMenu');
    app.ViewOptions('ViewOptions', 'OptionsDlg');
    app.SetViewGrid(3, 5, 'price');
    $('#ShowZIndex').bind('click', function () {
        alert("ui.dialog.maxZ: " + $.ui.dialog.maxZ + ".ui-dialog.ui-widget maxZIndex: " + $.maxZIndex({ group: '.ui-dialog.ui-widget' }));
        return false;
    });
});                 // End of ready function
